<html>
<head><meta charset="utf-8"><title>publishing rust-analyzer · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html">publishing rust-analyzer</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="180752853"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180752853" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180752853">(Nov 14 2019 at 17:27)</a>:</h4>
<p>TBD</p>



<a name="180753020"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753020" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753020">(Nov 14 2019 at 17:28)</a>:</h4>
<p>So, the big related question here is "do we want to advertize rust-analyzer" as a (one of)  the recommended IDE for Rust?</p>



<a name="180753065"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753065" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753065">(Nov 14 2019 at 17:29)</a>:</h4>
<p>It's not strictly isomorphic to publishing, but close enough. In my mind, providing builds sends "hey, this is ready" signal</p>



<a name="180753202"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753202" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753202">(Nov 14 2019 at 17:30)</a>:</h4>
<p>I am definitely not ready to consider rust-analyzer "done" at the moment, and I am somewhat skeptical that fixing X, Y and Z problems would be enough to call it ready</p>



<a name="180753216"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753216" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753216">(Nov 14 2019 at 17:30)</a>:</h4>
<p>I imagine saying it's officially recommended will require some buy-in from the larger Rust project -- maybe not an RFC, but at least an FCP?</p>



<a name="180753235"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753235" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753235">(Nov 14 2019 at 17:31)</a>:</h4>
<p>And that as well, yeah</p>



<a name="180753368"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753368" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753368">(Nov 14 2019 at 17:32)</a>:</h4>
<p>But more or less quietly putting out a "beta" version might still be a good idea. Maybe not now, but say in the next 3-6 months?</p>



<a name="180753453"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753453" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753453">(Nov 14 2019 at 17:33)</a>:</h4>
<p><span class="user-mention" data-user-id="133169">@matklad</span> personally I would be happy with a "nightly; use at own risk, not necessarily ready"</p>



<a name="180753466"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753466" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753466">(Nov 14 2019 at 17:33)</a>:</h4>
<p>basically I would prefer just not to build RA myself</p>



<a name="180753475"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753475" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753475">(Nov 14 2019 at 17:33)</a>:</h4>
<p>I guess, I am fine with providing builds and some auto-update hooks provided that:</p>
<ul>
<li>we clearly signal that this is not ready, that this is alpha-quality software</li>
<li>users are ready to stomach occasional breakage</li>
</ul>



<a name="180753527"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753527" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753527">(Nov 14 2019 at 17:34)</a>:</h4>
<p>I'm sure users will run into all kinds of bugs, but it's been quite usable (and useful) for a long time</p>



<a name="180753640"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753640" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753640">(Nov 14 2019 at 17:35)</a>:</h4>
<p>Maybe it's me, but I feel that name resolution is one of the more important features, and that's been working quite well lately</p>



<a name="180753698"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753698" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753698">(Nov 14 2019 at 17:35)</a>:</h4>
<p>yea; currently, I check the commit log of RA every now and then to see if any new interesting features have landed</p>



<a name="180753764"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753764" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753764">(Nov 14 2019 at 17:36)</a>:</h4>
<p>and then decide if I should build RA, which takes a while on my laptop</p>



<a name="180753793"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753793" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753793">(Nov 14 2019 at 17:36)</a>:</h4>
<p>I think autocompletion, hover and go to definition are things that most users care a lot about. I'm not sure how RLS has been doing on that front, but RA might be better these days</p>



<a name="180753840"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753840" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753840">(Nov 14 2019 at 17:37)</a>:</h4>
<p><span class="user-mention" data-user-id="126931">@centril</span> pro tip: build it without debug info, it's like twice as fast</p>



<a name="180753911"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753911" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753911">(Nov 14 2019 at 17:37)</a>:</h4>
<p><span class="user-mention" data-user-id="203546">@Laurențiu Nicola</span> that's not the default thing when you follow the install instructions in the readme?</p>



<a name="180753981"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180753981" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180753981">(Nov 14 2019 at 17:38)</a>:</h4>
<p>it's got <code>[profile.release] debug = 1</code> in <code>Cargo.toml</code></p>



<a name="180754043"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180754043" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180754043">(Nov 14 2019 at 17:39)</a>:</h4>
<p>aw -- maybe y'all could provide a "this is what you should do as a user" thing that doesn't use debuginfo</p>



<a name="180754053"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180754053" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180754053">(Nov 14 2019 at 17:39)</a>:</h4>
<p>Check this out: <a href="https://github.com/rust-analyzer/rust-analyzer/issues/1987#issuecomment-552167300" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/issues/1987#issuecomment-552167300">https://github.com/rust-analyzer/rust-analyzer/issues/1987#issuecomment-552167300</a> -- and that's with <code>lld</code></p>



<a name="180754060"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180754060" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180754060">(Nov 14 2019 at 17:39)</a>:</h4>
<p>(so that folks can get useful stacktraces in the debugger if rust-analyzer freezes)</p>



<a name="180754195"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180754195" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180754195">(Nov 14 2019 at 17:40)</a>:</h4>
<p>(I think most freezes come from <code>notify</code> on MacOS and a couple of <code>chalk</code> bugs; maybe we should force client-side watching on MacOS)</p>



<a name="180754402"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180754402" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180754402">(Nov 14 2019 at 17:42)</a>:</h4>
<p>I think we should just default to client-side watching if the client supports this</p>



<a name="180754419"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180754419" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180754419">(Nov 14 2019 at 17:42)</a>:</h4>
<p>(and fix chalk, obviously :) )</p>



<a name="180754516"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180754516" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180754516">(Nov 14 2019 at 17:43)</a>:</h4>
<p>would be good to note the protip in the readme if y'all don't want to make other changes</p>



<a name="180754532"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180754532" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180754532">(Nov 14 2019 at 17:43)</a>:</h4>
<p>I would totally forget otherwise personally</p>



<a name="180754653"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180754653" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180754653">(Nov 14 2019 at 17:44)</a>:</h4>
<p>And maybe file a bug about rustc being 15x slower on release builds with debug symbols? <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span></p>



<a name="180754736"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180754736" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180754736">(Nov 14 2019 at 17:45)</a>:</h4>
<p>Why file a bug? Better just fix it :D</p>



<a name="180754856"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180754856" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180754856">(Nov 14 2019 at 17:46)</a>:</h4>
<p>So.. besides client-side watching, are there any serious issues that we don't want people to run into?</p>



<a name="180754945"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180754945" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180754945">(Nov 14 2019 at 17:47)</a>:</h4>
<p>Not really... Yeah, I think we are stable enough to just disable the debuginfo by default</p>



<a name="180766598"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180766598" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180766598">(Nov 14 2019 at 19:42)</a>:</h4>
<p>I made a pull request earlier in the week to add us to the LSP implementation page</p>



<a name="180766695"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180766695" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180766695">(Nov 14 2019 at 19:43)</a>:</h4>
<p>releasing to the public could bring in more contributors (and more issue reports for sure)</p>



<a name="180766699"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180766699" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Mcnab <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180766699">(Nov 14 2019 at 19:43)</a>:</h4>
<p>I wonder if we could compile to webassembly and run through nodejs so that the vscode extension could be easily distributed</p>



<a name="180766717"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180766717" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180766717">(Nov 14 2019 at 19:43)</a>:</h4>
<p>I think there's a way to mark extensions as alpha or beta. I've seen those in my vscode</p>



<a name="180766805"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180766805" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180766805">(Nov 14 2019 at 19:44)</a>:</h4>
<p><span class="user-mention" data-user-id="200146">@Daniel Mcnab</span> as opposed to having a post install step that compiles or downloads the executable?</p>



<a name="180767025"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180767025" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Mcnab <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180767025">(Nov 14 2019 at 19:46)</a>:</h4>
<p>Yeah, exactly</p>



<a name="180767099"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180767099" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Mcnab <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180767099">(Nov 14 2019 at 19:46)</a>:</h4>
<p>I've been considering that approach for a personal project, and was wondering how applicable it could be</p>



<a name="180767156"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180767156" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Mcnab <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180767156">(Nov 14 2019 at 19:47)</a>:</h4>
<p>Although I'm not sure what the state of multithreading in wasm is.</p>



<a name="180767252"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180767252" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180767252">(Nov 14 2019 at 19:48)</a>:</h4>
<p>I haven't tried it but there is some support: <a href="https://github.com/rust-analyzer/rust-analyzer/pull/1888" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/pull/1888">https://github.com/rust-analyzer/rust-analyzer/pull/1888</a></p>



<a name="180767344"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180767344" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180767344">(Nov 14 2019 at 19:49)</a>:</h4>
<p>What does rls do? Is the server portion just distributed via rustup and the client is what is downloaded as an extension?</p>



<a name="180767495"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180767495" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Mcnab <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180767495">(Nov 14 2019 at 19:50)</a>:</h4>
<p>That PR just disables multithreading for wasm, unfortunately. Rls is distributed through rustup unless it changed</p>



<a name="180767519"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180767519" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Mcnab <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180767519">(Nov 14 2019 at 19:50)</a>:</h4>
<p>The C/C++ extension downloads a precompiled binary I think</p>



<a name="180773182"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180773182" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> marcogroppo <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180773182">(Nov 14 2019 at 20:47)</a>:</h4>
<p>yes, the C/C++ and the C# extensions download precompiled binaries. rust-analyzer has a WASM demo here: <a href="https://rust-analyzer.github.io/wasm-demo.html" target="_blank" title="https://rust-analyzer.github.io/wasm-demo.html">https://rust-analyzer.github.io/wasm-demo.html</a> but it's pretty limited</p>



<a name="180776127"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180776127" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180776127">(Nov 14 2019 at 21:20)</a>:</h4>
<p>For now I think it's fine to download pre-compiled binaries. Linux might be a little tricky though.</p>



<a name="180781772"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/publishing%20rust-analyzer/near/180781772" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/publishing.20rust-analyzer.html#180781772">(Nov 14 2019 at 22:20)</a>:</h4>
<p>Because of different archs or dynamic linking? Could use musl to get around the latter.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>